package YAVMM::Error::Guest::Libvirt;
use Moose;

extends 'YAVMM::Error::Guest';

has 'sv_error' => (
    is       => 'rw',
    isa      => 'Sys::Virt::Error',
    required => 1,
    handles  => {
	'error' => 'message'
    },
);

has '+error' => (
    reader => '_get_error',
);

no Moose;
__PACKAGE__->meta->make_immutable;
1;
